#ifndef YOOHOO_XMPPCORE_CONNECTIONCONFIG_H
#define YOOHOO_XMPPCORE_CONNECTIONCONFIG_H

#include "xmppcore/export.h"
#include "xmppcore/server.h"

namespace yoohoo_xmppcore {

class YOOHOO_XMPPCORE_EXPORT ConnectionConfig {

public:
	ConnectionConfig(Server server, QString resource, bool requireTls = true);
	void setServer(Server server);
	const Server& server() const;
	void setResource(QString resource);
	const QString& resource() const;
	bool requireTls();
	void setRequireTls(bool requireTls);

private:
	Server _server;
	QString _resource;
	bool _requireTls;
};

}

#endif
